From b19e0b60ce8e75d61cfbc3c405464ea767a6eaac Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Thu, 9 Sep 2004 23:04:08 +0000 Subject: [PATCH] don't parse blank ISBNs --- includes/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Parser.php b/includes/Parser.php index f15b4e38d6..be98d71c3a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2094,6 +2094,7 @@ class Parser $valid = '0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ'; foreach ( $a as $x ) { + if ( $x == '' ) continue; $isbn = $blank = '' ; while ( ' ' == $x{0} ) { $blank .= ' '; -- 2.20.1